<?php
/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $
 */
 /*
  $content = '';
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
  for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
    $content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
  }
  $content .= '</ol>' . "\n";
  $content .= '</div>' . "\n";
  $content .= '</div>';
  */
  //modify by  vincent, hard code the best sellers
  $content = '';
	
	//top 1
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.1</span></div>';
	$content .= '<a href="http://www.jp.civillaser.com/635nm-5mw-%E8%B5%A4%E8%89%B2-%E3%83%AC%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB-%E7%84%A6%E7%82%B9%E8%AA%BF%E7%AF%80%E5%8F%AF%E8%83%BD-p-4.html"><img src="/images/635nm 5mW red laser module focus able.jpg"  width="150" height="120" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.jp.civillaser.com/635nm-5mw-%E8%B5%A4%E8%89%B2-%E3%83%AC%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB-%E7%84%A6%E7%82%B9%E8%AA%BF%E7%AF%80%E5%8F%AF%E8%83%BD-p-4.html">635nm 5mW 赤色 レーザーモジュール 焦点調節可能</a>';
	$content .= '<div>4800円</div>';
	$content .= '</div>';	
		
	//top 2
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.2</span></div>';
	$content .= '<a href="http://www.jp.civillaser.com/532nm-30mw100mw-%E7%B7%91%E8%89%B2%E3%83%AC%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB-p-35.html"><img src="/images/6194SH1 30mW Green Lasaer Module.jpg"  width="150" height="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.jp.civillaser.com/532nm-30mw100mw-%E7%B7%91%E8%89%B2%E3%83%AC%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB-p-35.html">532nm 30MW~100MW 緑色レーザーモジュール</a>';
	$content .= '<div>5800円</div>';
	$content .= '</div>';
	
	
	
	//top 3
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.3</span></div>';
	$content .= '<a href="http://www.jp.civillaser.com/445nm-15w-%E9%9D%92%E8%89%B2%E3%83%AC%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%ABosram-pltb450-%E3%83%81%E3%83%83%E3%83%97-p-165.html"><img src="/images/445nm 1.5mw blue laser module Osram.jpg"  width="150" height="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.jp.civillaser.com/445nm-15w-%E9%9D%92%E8%89%B2%E3%83%AC%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%ABosram-pltb450-%E3%83%81%E3%83%83%E3%83%97-p-165.html">445nm 1.5W 青色レーザーモジュール/Osram PL_TB450 チップ</a>';
	$content .= '<div>23900円</div>';
	$content .= '</div>';
	
	
	
	
	
	
	//top 4
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.4</span></div>';
	$content .= '<a href="http://www.jp.civillaser.com/660nm-200250mw-%E8%B5%A4%E8%89%B2-%E3%83%AC%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB-%E3%82%AB%E3%83%83%E3%83%88-p-164.html"><img src="/images/660nm 200-250mw red laser module cut.jpg"  width="140" height="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.jp.civillaser.com/660nm-200250mw-%E8%B5%A4%E8%89%B2-%E3%83%AC%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB-%E3%82%AB%E3%83%83%E3%83%88-p-164.html">660nm 200-250mw 赤色 レーザーモジュール カット</a>';
	$content .= '<div>5900円</div>';
	$content .= '</div>';
	
	
	//top 5
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.5</span></div>';
	$content .= '<a href="http://www.jp.civillaser.com/808nm-5mw50mw-%E8%B5%A4%E5%A4%96%E7%B7%9A-%E3%83%AC%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB-1235mm-p-54.html"><img src="/images/www.laser-door.com 808nm 5mw red laser modules.jpg"  width="150" height="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.jp.civillaser.com/808nm-5mw50mw-%E8%B5%A4%E5%A4%96%E7%B7%9A-%E3%83%AC%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB-1235mm-p-54.html">808nm 5mW~50mW 赤外線 レーザーモジュール 12*35mm</a>';
	$content .= '<div>4300円</div>';
	$content .= '</div>';
	
	
	



	 //base  top5
	  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
	  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
	  for ($i=1; $i<=5; $i++) {
		$content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
	  }
	  $content .= '</ol>' . "\n";
	  $content .= '</div>' . "\n";
	  $content .= '</div>';
?>